if analytics
    script(type="text/javascript")
      //<![CDATA[
        var _gaq = [['_setAccount', '#{ analytics }'], ['_trackPageview']];
        (function(d, t) {
        var g = d.createElement(t),
            s = d.getElementsByTagName(t)[0];
        g.async = true;
        g.src = '//www.google-analytics.com/ga.js';
        s.parentNode.insertBefore(g, s);
        })(document, 'script');
      //]]>